<template>
  <div>
    <el-card>
      <div slot="header" class="head">
        <div class="sear">
          <span>热门搜索</span>
          <el-dropdown>
            <span>
              <i class="el-icon-more" />
            </span>
            <el-dropdown-menu slot="dropdown">
              <el-dropdown-item>传一科技    ——  SM二期</el-dropdown-item>
              <el-dropdown-item>中山路  ——   厦门大学</el-dropdown-item>
              <el-dropdown-item>软件园  ——   华侨大学</el-dropdown-item>
            </el-dropdown-menu>
          </el-dropdown>
        </div>
      </div>
      <div>
        <el-row :gutter="10">
          <el-col :span="12">
            <LinCharts />
          </el-col>
          <el-col :span="12">
            <LinCharts />
          </el-col>
        </el-row>
        <!-- 表格 -->
        <el-table
          :data="tableData"
          style="width: 100%"
          border
        >
          <el-table-column
            label="排名"
            width="80"
            type="index"
          />
          <el-table-column
            label="搜索地"
            width="180"
          />
          <el-table-column
            label="用户数"
            sortable
          />
          <el-table-column
            label="周涨幅"
            sortable
          />
        </el-table>
        <!-- 分页 -->
        <el-pagination
          layout="prev, pager, next"
          :total="500"
          class="pag"
        />
      </div>
    </el-card>
  </div>
</template>

<script>
import LinCharts from './lineCharts'
// import Category from '../Category'

export default {
  name: '',
  components: {
    LinCharts
    // Category
  },
  data() {
    return {
      tableData: [{}]
    }
  }
}
</script>

<style scoped>
.sear{
    display: flex;
    justify-content: space-between;
}
.head{
    border-bottom: 1px solid #eee;
    padding: 5px 0px;
}
.pag{
  float: right;
}
</style>
